second largest element without sorting

join shbcf.ru